using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace application
{
    public partial class entityCOMPANY : application.entityBase
    {
        public entityCOMPANY()
        {
            InitializeComponent();
            base.Init(CommonTypes.Consts.constEntityCompany, CommonTypes.Consts.constEntityCompanyCat);
            ShowOtherPage(true);
        }
        public override void LockEdit()
        {
            base.LockEdit();
            bool lockState = this.isLockEdit;
            directorEd.Enabled = !lockState;
            taxCodeEd.Enabled = !lockState;
        }
    }
}

